package com.woniu34.order.api;


import com.woniu34.order.domain.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("order-service")
public interface OrderApi {


    @RequestMapping("/order/queryById")
    public Order queryById(@RequestParam("orderId") Long orderId);
}
